﻿// Copyright (c) 2014 Morten Bakkedal
// This code is published under the MIT License.

using System;
using System.Diagnostics;

namespace FuncLib.DualFunctions.Compilation
{
	[DebuggerDisplay("Index = {Index}, Length = {Length}")]
	internal class Storage
	{
		private int index, length;

		public Storage(int index, int length)
		{
			this.index = index;
			this.length = length;
		}

		public int Index
		{
			get
			{
				return index;
			}
		}

		public int Length
		{
			get
			{
				return length;
			}
		}
	}
}
